home *** CD-ROM | disk | FTP | other *** search
INI File | 2001-02-17 | 12.0 KB | 376 lines |
- [script]
- n0=
- n1=alias setup {
- n2= dialog -md setup setup
- n3= did -a setup 3 δ≡Θ±Σ
- n4= did -a setup 3 ≥π_20
- n5= did -a setup 3 ≥∙°Θφ_⌠∞σ±
- n6= did -a setup 3 ∙∞σ∙Θφ_⌠∞σ±
- n7= did -a setup 3 α°ß≥Θφ_⌠∞σ±
- n8= did -a setup 3 εßσΓ°Θφ
- n9= did -a setup 3 ±Φσπ≡ΦΘφ
- n10= did -a setup 3 α≈Φσα∞ΘΣ
- n11= did -a setup 3 ατ°Θ_Σδ∞
- n12= did -a setup 3 Στπ°_∙∞_ß≡Θ
- n13=
- n14= did -a setup 3 ±≈±
- n15= did -a setup 3 ΓαΘφ_Γασ·
- n16= did -a setup 3 Φ°ΘσσΘΣ
- n17= did -a setup 3 π·ΘΘφ
- n18= did -a setup 3 ασ⌠∞±
- n19= did -a setup 3 Σδ°σΘσ·
- n20= did -a setup 3 ατσ·_°τε≡ΘΘΣ
- n21=
- n22= did -c setup 3 %startroom
- n23= did -a setup 2 $putname($wallahebtoeng(%cNick))
- n24= if (%io == on) did -c setup 9
- n25= if (%shownick == on) did -c setup 10
- n26= if (%Jpwin == on) did -c setup 11
- n27= if (%nicklist == r) did -c setup 6
- n28= elseif (%nicklist == l) did -c setup 7
- n29=
- n30= if (%spd.private.protection == on) { did -c setup 200 }
- n31=}
- n32=alias teap {
- n33= tal
- n34= did -r options 10
- n35= loopig
- n36=}
- n37=alias loopig {
- n38= %iglen2 = $ignore(0)
- n39= :looplist
- n40= if (%iglen2 == 0) return
- n41= did -a options 10 $putname($wallahebtoeng($get.ignore($ignore(%iglen2))))
- n42= dec %iglen2
- n43= goto looplist
- n44=}
- n45=alias tal {
- n46= %dww = $1
- n47= dialog -md options options
- n48= did -f options 1
- n49=}
- n50=dialog setup {
- n51= size -1 -1 320 420
- n52= title "Setup"
- n53= button "αΘ∙σ°", 1, 160 390 50 20, ok
- n54= button "ßΘΦσ∞",13, 100 390 50 20,cancel
- n55= Edit "", 2, 50 20 120 22, autohs,right
- n56= Combo 3, 30 60 140 150, drop
- n57= text ":∙φ/≡Θ≈ ≈ßσ≥",4,220 23 110 40
- n58= text ":τπ° ∞δ≡Θ±Σ ß≥· Σ·τß°σ· ∞∙°·",5,200 55 110 40
- n59= radio "÷εσπΣ ∞ΘεΘ∩",6, 215 110 85 15,left,group
- n60= radio "εεσΘ≡· ∞⌠Θ α-ß",7, 200 130 100 15,left,
- n61= box "°∙Θε· ∙εσ·",8,195 95 110 60
- n62= check "Σσπ≥σ· ∙°·",9,85 105 85 15,left
- n63= check "·÷σΓ· Στ∞⌠· ∙φ",10,60 125 110 15,left
- n64= check "τ∞σ≡σ· ⌠°ΦΘΘφ",11,75 145 95 15,left
- n65= box "",12,5 92 170 95
- n66=
- n67= button " ε·≈πφ " ,101,10 103 50 19
- n68= button " ÷ß≥Θφ ",102,10 163 50 19
- n69= button " ΣΓπ°σ· ",103,65 163 50 19
- n70= button " ΣΓ≡σ· ",104,120 163 50 19
- n71=
- n72= check "±Θ±ε· ΣΓ≡· ⌠°ΦΘ",200,200 200 110 17,left
- n73= text "±Θ±ε· ⌠·ΘτΣ",201,222 220 110 20
- n74= edit %spd.private.open,202,125 217 90 20
- n75= text "±Θ±ε· ±ΓΘ°Σ",203,224 240 110 20
- n76= edit %spd.private.close,204,125 237 90 20
- n77=
- n78=}
- n79=
- n80=on *:dialog:setup:sclick:104: {
- n81= /spd.do.protection
- n82=}
- n83=
- n84=on *:dialog:setup:sclick:103: {
- n85= /teap
- n86=}
- n87=
- n88=on *:dialog:setup:sclick:101: {
- n89= /spd.do.display
- n90=}
- n91=
- n92=on *:dialog:setup:sclick:102: {
- n93= /spd.display.color.show
- n94=}
- n95=
- n96=alias get.ignore {
- n97= unset %ignick
- n98= %iglen1 = $len($1)
- n99= %igcount = 1
- n100= :loopOF
- n101= if ($mid($1,%igcount,1) == !) return %ignick
- n102= %ignick = %ignick $+ $mid($1,%igcount,1)
- n103= inc %igcount
- n104= if (%igcount > %iglen1) return
- n105= goto loopOF
- n106=}
- n107=on *:dialog:setup:sclick:1: {
- n108= if ($did(setup,202).text != $null) { %spd.private.open = $did(setup,202).text }
- n109= if ($did(setup,204).text != $null) { %spd.private.close = $did(setup,204).text }
- n110=
- n111= if ($did(setup,200).state == 1) { %spd.private.protection = on }
- n112= else { %spd.private.protection = off }
- n113=
- n114=
- n115= %cNick = $wallahebtoeng($replace($did(setup,2).text,·,q,⌡,w))
- n116= if (%cNick == $null ) set %cNick turj
- n117= %startRoom = $did(setup,3).sel
- n118= ;,$did(setup,3).sel).text
- n119= if (%startRoom == 1) %startR = #PUC-fbhxv
- n120= if (%startRoom == 2) %startR = #PUC-gs_02
- n121= if (%startRoom == 3) %startR = #PUC-02_pkux
- n122= if (%startRoom == 4) %startR = #PUC-03_pkux
- n123= if (%startRoom == 5) %startR = #PUC-04_pkux
- n124= if (%startRoom == 6) %startR = #PUC-ncudrho
- n125= if (%startRoom == 7) %startR = #PUC-thbyrby
- n126= if (%startRoom == 8) %startR = #PUC-teyutkhv
- n127= if (%startRoom == 9) %startR = #PUC-tjrh_vfk
- n128= if (%startRoom == 10) %startR = #PUC-vjsr_ak_cbh
- n129=
- n130= if (%startRoom == 11) %startR = #PUC-xex
- n131= if (%startRoom == 12) %startR = #PUC-dtho_dtuq
- n132= if (%startRoom == 13) %startR = #PUC-yrhuuhv
- n133= if (%startRoom == 14) %startR = #PUC-sqhho
- n134= if (%startRoom == 15) %startR = #PUC-tupkx
- n135= if (%startRoom == 16) %startR = #PUC-vfruhuq
- n136= if (%startRoom == 17) %startR = #PUC-tjuq_rjnbhhv
- n137=
- n138= if (%startRoom == $null ) %startR = #PUC-fbhxv
- n139= if ($did(setup,6).state == 1) { %nicklist = r | $iif($wallaonline,F5) }
- n140= if ($did(setup,7).state == 1) { %nicklist = l | $iif($wallaonline,F5) }
- n141= if ($did(setup,9).state == 1) %io = on
- n142= else %io = off
- n143= if ($did(setup,10).state == 1) %shownick = on
- n144= else %shownick = off
- n145= if ($did(setup,11).state == 1) %Jpwin = on
- n146= else %Jpwin = off
- n147=
- n148= %set = done
- n149= if ($wallaonline == $false) /start
- n150=
- n151= if ($server == $null) { fornick3 $me }
- n152= else if ($chan(0) > 0) { fornick $me }
- n153= else { %spd.for.temp = $active | fornick2 $me }
- n154=}
- n155=on *:dialog:options:sclick:8: {
- n156= %ighim = $quick.rep($wallahebtoeng($did(options,9).text))
- n157= if (%ighim == $null ) return
- n158= %iglong = $ignore(0)
- n159= :loopA
- n160= if (%iglong == 0) {
- n161= did -i options 10 1 $putname($did(options,9).text)
- n162= ignore %ighim
- n163= did -r options 9
- n164= did -a options 11 $putname($wallahebtoeng($wallaname(%ighim))) Σσ±≤ ∞°∙Θε· Σ·≥∞εσ·
- n165= return
- n166= }
- n167= else {
- n168= if ($get.ignore($ignore(%iglong)) == %ighim) {
- n169= did -r options 9
- n170= did -a options 11 $putname($wallahebtoeng($wallaname(%ighim))) δß° ≡ε÷α ßΣ·≥∞εσ·
- n171= return
- n172= }
- n173= }
- n174= dec %iglong
- n175= goto loopA
- n176=}
- n177=alias quick.rep return $replace($1-,$chr(44),q,.,w)
- n178=
- n179=on *:dialog:options:sclick:7: {
- n180= %delig5 = $quick.rep($wallahebtoeng($did(options,10,$did(options,10).sel).text))
- n181= %deliglen3 = $ignore(0)
- n182= :loopB
- n183= if (%deliglen3 == 0) {
- n184= did -a options 11 α°≥Σ ∙ΓΘαΣ
- n185= return
- n186= }
- n187= else {
- n188= %delig4 = $get.ignore($ignore(%deliglen3))
- n189= if (%delig5 == %delig4 ) {
- n190= ignore -r %delig5
- n191= did -d options 10 $did(options,10).sel
- n192= did -a options 11 $putname($wallahebtoeng(%delig5)) ≡ετ≈ ε°∙Θε· Σ·≥∞εσ·
- n193= return
- n194= }
- n195= }
- n196= dec %deliglen3
- n197= goto loopB
- n198=}
- n199=
- n200=on *:dialog:options:sclick:6: {
- n201= %del.ig1 = $ignore(0)
- n202= :loop6
- n203= if (%del.ig1 > 0) {
- n204= dec %del.ig1
- n205= ignore -r $ignore(1)
- n206= goto loop6
- n207= }
- n208= did -r options 10
- n209= did -a options 11 °∙Θε· Σ·≥∞εσ· ≡ετ≈Σ
- n210=}
- n211=
- n212=on *:dialog:options:init:0: {
- n213= ;***highlight init
- n214= %hilen = $lines(hi.txt)
- n215= :hiloop
- n216= %hi1 = $read -l $+ %hilen hi.txt
- n217= if (%hi1 != $null) did -a options 18 $putname($wallahebtoeng(%hi1))
- n218= dec %hilen
- n219= if (%hilen > 0 ) goto hiloop
- n220= if (%beep == on) did -c hilight 21
- n221= ;***notify init
- n222= %notilen = $notify(0)
- n223= :notiloop
- n224= %noti1 = $notify(%notilen)
- n225= if ((%noti1 != $null) && (%noti1 != 0)) did -a options 27 $putname($wallahebtoeng(%noti1))
- n226= dec %notilen
- n227= if (%notilen > 0) goto notiloop
- n228= if (%beep2 == on) did -c options 30
- n229=}
- n230=
- n231=Dialog options {
- n232= Title "options"
- n233= Size -1 -1 370 220
- n234= ;***ignore list
- n235= tab "°∙Θε· Σ·≥∞εσ·",1,5 5 350 170
- n236= tab "Notify",2
- n237= tab "Highlight",3
- n238= button "Θ÷ΘαΣ",4,150 180 50 30,ok
- n239= Box "≈ßΘ≥· Σ·≥∞εσ·", 5, 10 30 160 70,tab 1
- n240= Button "ετ≈ Σδ∞", 6, 185 115 50 18,Default,tab 1
- n241= Button "Σ±° Σ·≥∞εσ· ", 7, 240 115 80 18,Default,tab 1
- n242= Button "Σ·≥∞φ", 8, 65 75 60 18, Default,tab 1
- n243= Edit "", 9, 15 45 150 22, autohs,right,tab 1
- n244=
- n245= List 10, 180 45 140 80 ,tab 1
- n246=
- n247= Text "", 11, 15 120 150 30,tab 1
- n248= Text "°∙Θε· Σ·≥∞εσ·", 12, 180 30 140 12,tab 1
- n249= ;****highlight
- n250= Box "Highlight", 13, 10 30 160 70,tab 3
- n251= Button "ετ≈ Σδ∞", 14, 185 115 50 18,Default,tab 3
- n252= Button "Highlight ,Σ±°",15, 240 115 80 18,Default,tab 3
- n253= Button "Highlight", 16, 65 75 60 18, Default,tab 3
- n254= Edit "",17, 15 45 145 22, autohs,right,tab 3
- n255=
- n256= List 18, 180 45 140 80 ,tab 3
- n257=
- n258= Text "", 19, 15 140 200 20,tab 3
- n259= Text "Highlight °∙Θε·", 20, 180 30 140 20,tab 3
- n260= Check "Beep",21, 15 103 55 20, left,tab 3
- n261= ;***notify
- n262= Box "Notify", 22, 10 30 160 70,tab 2
- n263= Button "ετ≈ Σδ∞", 23, 185 115 50 18,Default,tab 2
- n264= Button "Notify Σ±°", 24, 240 115 80 18,Default,tab 2
- n265= Button "Σσ±≤", 25, 65 75 60 18, Default,tab 2
- n266= Edit "", 26, 15 45 145 22, autohs,right,tab 2
- n267=
- n268= List 27, 180 45 140 80 ,tab 2
- n269=
- n270= Text "", 28, 15 140 200 20,tab 2
- n271= Text "Notify °∙Θε·", 29, 180 30 140 20,tab 2
- n272= Check "Beep",30, 15 103 55 20, left,tab 2
- n273=
- n274=}
- n275=
- n276=alias hilight {
- n277= dialog -md options options
- n278= did -f options 3
- n279=}
- n280=
- n281=on *:dialog:options:sclick:21:{
- n282= if ($did(options,21).state == 1) %beep = on
- n283= else %beep = off
- n284=}
- n285=on *:dialog:options:sclick:16: {
- n286= %highim = $quick.rep($wallahebtoeng($did(options,17).text))
- n287= if ($read -s $+ %highim hi.txt ) { did -r options 17 | return }
- n288= else {
- n289= write hi.txt %highim
- n290= did -a options 18 $did(options,17).text
- n291= did -r options 17
- n292= }
- n293=}
- n294=
- n295=on *:dialog:options:sclick:14: {
- n296= %hilen2 = $lines(hi.txt)
- n297= :hiloop2
- n298= if ( %hilen2 == 0 ) { did -r options 18 | return }
- n299= else {
- n300= write -dl $+ %hilen2 hi.txt
- n301= dec %hilen2
- n302= goto hiloop2
- n303= }
- n304=}
- n305=
- n306=on *:dialog:options:sclick:15: {
- n307= %hi2 = $quick.rep($wallahebtoeng($did(options,18,$did(options,18).sel).text))
- n308= write -ds $+ %hi2 hi.txt
- n309= did -d options 18 $did(options,18).sel
- n310= did -a options 19 $putname($wallahebtoeng(%hi2)) Deleted
- n311=}
- n312=
- n313=alias wnotify {
- n314= dialog -md options options
- n315= did -f options 2
- n316=}
- n317=
- n318=on *:dialog:options:sclick:25: {
- n319= %nothim = $quick.rep($wallahebtoeng($did(options,26).text))
- n320= %notlen2 = $notify(0)
- n321= :notiloop2
- n322= if ((%notlen2 == 0) && ( $did(options,26).text == $null )) return
- n323= if ((%notlen2 == 0) && ( $did(options,26).text != $null )) {
- n324= did -i options 27 1 $putname($did(options,26).text)
- n325= .notify %nothim
- n326= did -r options 26
- n327= did -a options 28 $putname($wallahebtoeng($wallaname(%nothim))) added to Notify
- n328= return
- n329= }
- n330= elseif ($notify(%notlen2) == %nothim) {
- n331= did -r options 26
- n332= did -a options 28 $putname($wallahebtoeng($wallaname(%nothim))) already in Notify
- n333= return
- n334= }
- n335=
- n336= dec %notlen2
- n337= goto notiloop2
- n338=}
- n339=
- n340=on *:dialog:options:sclick:23: {
- n341= %delallnot = $notify(0)
- n342= :loopnot3
- n343= if (%delallnot > 0) {
- n344= dec %delallnot
- n345= notify -r $notify(1)
- n346= goto loopnot3
- n347= }
- n348= did -r options 27
- n349= did -a options 28 All Notify deleted
- n350=}
- n351=on *:dialog:options:sclick:24: {
- n352= %notdelhim = $quick.rep($wallahebtoeng($did(options,27,$did(options,27).sel).text))
- n353= %notilen4 = $notify(0)
- n354= :loopnot4
- n355= if ( %notilen4 == 0) {
- n356= did -a options 28 α°≥Σ ∙ΓΘαΣ
- n357= return
- n358= }
- n359= else {
- n360= if (%notdelhim == $notify(%notilen4 )) {
- n361= .notify -r %notdelhim
- n362= did -d options 27 $did(options,27).sel
- n363= did -a options 28 $putname($wallahebtoeng(%notdelhim)) deleted from Notify
- n364= return
- n365= }
- n366= }
- n367= dec %notilen4
- n368= goto loopnot4
- n369=}
- n370=on *:dialog:options:sclick:30:{
- n371= if ($did(options,30).state == 1) %beep2 = on
- n372= else %beep2 = off
- n373=}
-